package snafu.implementation.states.literals.color;

import java.awt.Color;

import snafu.framework.states.literals.StateLiteralItself;
import snafu.framework.states.literals.StateLiteralView;
import snafu.framework.view.Access;

public class ColorLiteralView extends StateLiteralView<Color> implements ColorLiteral {
	public ColorLiteralView(Access access, StateLiteralItself<Color> literal) {
		super(access, literal);
	}

	@Override
	public Color getValue() {
		return new Color(literal.getValue().getRGB());
	}
}
